package com.powersi.biz.base.dao;

import java.util.List;
import java.util.Map;

import com.powersi.biz.base.dto.ChooseShipDTO;
import com.powersi.biz.entity.SHIP;
import com.powersi.hygeia.framework.BaseDAO;

public interface ShipDAO extends BaseDAO {

	/*
	 * (non-Javadoc)
	 *
	 * @see com.powersi.sys.message.dao.ShipDAO#queryList(java.lang.String,
	 * java.lang.String, java.util.Map)
	 */
	public abstract List queryList(Map map);

	/*
	 * (non-Javadoc)
	 *
	 * @see
	 * com.powersi.sys.message.dao.ShipDAO#insertBulletin(com.powersi.sys
	 * .message.entity.SysBulletins)
	 */
	public abstract int insertShip(SHIP ship);

	/*
	 * (non-Javadoc)
	 *
	 * @see
	 * com.powersi.sys.message.dao.ShipDAO#updateBulletin(com.powersi.sys
	 * .message.entity.SysBulletins)
	 */
	public abstract int updateShip(SHIP ship);

	/*
	 * (non-Javadoc)
	 *
	 * @see
	 * com.powersi.sys.message.dao.ShipDAO#deleteBulletin(java.lang.Long)
	 */
	public abstract int deleteShip(Long id);

	public abstract SHIP queryShipInfo(Long id);

	public abstract List getShipList(ChooseShipDTO chooseShipDTO);

}